/**
 * 
 */
package wrapper;


/**
 * @author Or Kaplan
 *
 * abstract field wrapper base class 
 */
public abstract class FieldBase implements IFieldWrapper {

	protected FieldBase(String tsvFieldName, String tableFieldName, boolean isRequired) {
		this.tsvFieldName = tsvFieldName;
		this.tableFieldName = tableFieldName;
		this.isRequired = isRequired;
	}
	
	protected String tsvFieldName;
	protected String tableFieldName;
	protected boolean isRequired;
	
	/* (non-Javadoc)
	 * @see wrapper.IFieldWrapper#getTsvFieldName()
	 */
	@Override
	public String getTsvFieldName() {
		return this.tsvFieldName;
	}
	
	/* (non-Javadoc)
	 * @see wrapper.IFieldWrapper#getTableFieldName()
	 */
	@Override
	public String getTableFieldName() {
		return this.tableFieldName;
	}
}
